package cn.com.inossem.model;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

public class AddBaGuaInfoBean implements Parcelable, Serializable {

	/**
	 * 父级八卦id
	 */
	private String parentID;
	/**
	 * 八卦内容
	 */
	private String text;
	/**
	 * 八卦头像
	 */
	private String icon;
	/**
	 * 标签（逗号分割）
	 */
	private String keys;
	/**
	 * 图片（base64逗号分割）
	 */
	private String pics;

	private String name;
	

	public AddBaGuaInfoBean() {

	}

	public String getParentID() {
		return parentID;
	}

	public void setParentID(String parentID) {
		this.parentID = parentID;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getKeys() {
		return keys;
	}

	public void setKeys(String keys) {
		this.keys = keys;
	}

	public String getPics() {
		return pics;
	}

	public void setPics(String pics) {
		this.pics = pics;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	private AddBaGuaInfoBean(Parcel in) {

		text = in.readString();
		icon = in.readString();
		keys = in.readString();
		pics = in.readString();
		name = in.readString();

	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(text);
		dest.writeString(icon);
		dest.writeString(keys);
		dest.writeString(pics);
		dest.writeString(name);
	}

	public static final Parcelable.Creator<AddBaGuaInfoBean> CREATOR = new Parcelable.Creator<AddBaGuaInfoBean>() {
		public AddBaGuaInfoBean createFromParcel(Parcel in) {
			return new AddBaGuaInfoBean(in);
		}

		public AddBaGuaInfoBean[] newArray(int size) {
			return new AddBaGuaInfoBean[size];
		}
	};

}
